package com.example.diancai.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import java.io.Serializable;
import java.time.LocalDateTime;

/**
 * <p>
 * 菜品规格表
 * </p>
 *
 * @author q
 * @since 2025-03-07
 */
@TableName("dc_dish_specification")
public class DcDishSpecification implements Serializable {

    private static final long serialVersionUID = 1L;

    /**
     * 规格id
     */
    private String specificationId;

    /**
     * 菜单id
     */
    private String menuId;

    /**
     * 规格名称
     */
    private String specificationName;

    /**
     * 价格
     */
    private Long price;

    /**
     * 数量
     */
    private Long sum;

    /**
     * 图片地址
     */
    private String pictureUrl;

    /**
     * 创建时间
     */
    private LocalDateTime createTime;

    /**
     * 删除状态
     */
    private String deleteFlag;

    /**
     * 删除时间
     */
    private LocalDateTime deleteTime;

    public String getSpecificationId() {
        return specificationId;
    }

    public void setSpecificationId(String specificationId) {
        this.specificationId = specificationId;
    }

    public String getMenuId() {
        return menuId;
    }

    public void setMenuId(String menuId) {
        this.menuId = menuId;
    }

    public String getSpecificationName() {
        return specificationName;
    }

    public void setSpecificationName(String specificationName) {
        this.specificationName = specificationName;
    }

    public Long getPrice() {
        return price;
    }

    public void setPrice(Long price) {
        this.price = price;
    }

    public Long getSum() {
        return sum;
    }

    public void setSum(Long sum) {
        this.sum = sum;
    }

    public String getPictureUrl() {
        return pictureUrl;
    }

    public void setPictureUrl(String pictureUrl) {
        this.pictureUrl = pictureUrl;
    }

    public LocalDateTime getCreateTime() {
        return createTime;
    }

    public void setCreateTime(LocalDateTime createTime) {
        this.createTime = createTime;
    }

    public String getDeleteFlag() {
        return deleteFlag;
    }

    public void setDeleteFlag(String deleteFlag) {
        this.deleteFlag = deleteFlag;
    }

    public LocalDateTime getDeleteTime() {
        return deleteTime;
    }

    public void setDeleteTime(LocalDateTime deleteTime) {
        this.deleteTime = deleteTime;
    }

    @Override
    public String toString() {
        return "DcDishSpecification{" +
        "specificationId = " + specificationId +
        ", menuId = " + menuId +
        ", specificationName = " + specificationName +
        ", price = " + price +
        ", sum = " + sum +
        ", pictureUrl = " + pictureUrl +
        ", createTime = " + createTime +
        ", deleteFlag = " + deleteFlag +
        ", deleteTime = " + deleteTime +
        "}";
    }
}
